<?php  
  $link = $data->getObjectLink();
  $resources = GxcHelpers::getResourceObjectFromDatabase($data,'thumbnail');
  $resource = null;
  if (isset($resources)) {
  	$resource = $resources[0];
  }
?>
<li class="spanproductlist">
<div class="thumbnail">
	<img src="<?php echo $resource['link'];?>">
	<div class="caption">
		<a href="product.html"><h5>col1-img1</h5></a>
		<p>Comment blah blah...</p>
		<strong>500.000 VND</strong>
	</div>
</div>
</li>